package com.woniu.order.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月12日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("refund")
public class Refund implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 退款id
     */
    @TableId(value = "refund_id", type = IdType.AUTO)
    private Integer refundId;

    /**
     * 退款用户
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 退款订单号
     */
    @TableField("order_num")
    private String orderNum;

    /**
     * 退款原因
     */
    @TableField("refund_reason")
    private String refundReason;

    /**
     * 1审核中 2.退款成功 3.退款失败
     */
    @TableField("refund_state")
    private Integer refundState;


}
